use std::time::Duration;

/// War3的默认端口(tcp、udp都有监听)
pub const WAR3_PORT: u16 = 6112;

/// 超时时间
pub const TIMEOUT_DURATION: Duration = Duration::from_secs(30);

/// 虚拟IP前缀
pub const VIRTUAL_IP_PREFIX: &str = "127.0.1.";
/// 虚拟IP起始编号
pub const VIRTUAL_IP_START: u8 = 1;
/// 虚拟IP结束编号
pub const VIRTUAL_IP_END: u8 = 255;
/// 虚拟IP池容量
pub const VIRTUAL_IP_POOL_SIZE: usize = 255;